package main

import "fmt"

func main() {
	defer fmt.Println("counting...")
	for i:=1;i<11;i++{
		defer fmt.Println(i)
	}
	fmt.Println("-----end-----")
}